package com.haipi.util;

public class HtmlUtil
{

    public static String str2html(String string)
    {
    	System.out.println("string :" +string);
    	string = string.replace("</p>", "</p><br/>");
        string = string.replace("\r\n", "<br/>");
        string = string.replace(" ", "&nbsp;");
        System.out.println("string :" +string);
        return string;
    }
}
